package org.tgcloud.group.repository;

import org.apache.ibatis.annotations.Param;
import org.tgcloud.group.entity.MjOrderTimeOutRemark;

import java.util.List;

public interface MjOrderTimeOutRemarkMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MjOrderTimeOutRemark record);

    int insertSelective(MjOrderTimeOutRemark record);

    MjOrderTimeOutRemark selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MjOrderTimeOutRemark record);

    int updateByPrimaryKey(MjOrderTimeOutRemark record);

    List<MjOrderTimeOutRemark> selectByUserIdAndOrderId(@Param("userId") Integer userId, @Param("orderId") Integer orderId,@Param("contentType") Short contentType);
    List<MjOrderTimeOutRemark> selectNormalUserByOrderId(@Param("userId") Integer userId, @Param("orderId") Integer orderId,@Param("contentType") Short contentType);
}